package com.ddxcloud.movie.data.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
public class GoodsOrderDTO {

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "商品图片")
    private String goodsImg;

    @Schema(description = "商品金额")
    private BigDecimal goodsAmount;

    @Schema(description = "商品数量")
    private Integer goodsNum;

    @Schema(description = "联系人")
    @NotBlank(message = "联系人不能为空")
    private String contacts;

    @Schema(description = "联系号码")
    @NotBlank(message = "联系号码不能为空")
    private String mobile;

    @Schema(description = "收货地址")
    @NotBlank(message = "收货地址不能为空")
    private String deliveryAddress;
}
